package com.aaa.statistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Lei
 * @create 2023-03-31 19:45
 */
@SpringBootApplication
@EnableFeignClients
@ComponentScan(basePackages = {"com.aaa.config","com.aaa.statistics"})//添加完此注解后，默认的包扫描就会失效
@MapperScan(value = "com.aaa.statistics.dao")
public class StatisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(StatisticsApplication.class,args);
    }
}
